package com.guigu.tankai.service.impl;

import com.guigu.tankai.mapper.MemberinfoMapper;
import com.guigu.tankai.pojo.Memberinfo;
import com.guigu.tankai.service.MemberinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MemberinfoServiceImpl implements MemberinfoService {
@Autowired
MemberinfoMapper memberinfoMapper;
    @Override
    public int insertSelective(Memberinfo record) {
        return memberinfoMapper.insertSelective(record);
    }

    @Override
    public Memberinfo select(Integer id) {
        return memberinfoMapper.selectByPrimaryKey(id);
    }
}
